package org.sfx.rich

import java.lang.annotation.Annotation
import java.net.URL

case class RichPackage(underlying: Package) {
  def implementationTitle: String = underlying.getImplementationTitle()
  def implementationVendor: String = underlying.getImplementationVendor()
  def implementationVersion: String = underlying.getImplementationVersion()
  def name: String = underlying.getName()
  def specificationTitle: String = underlying.getSpecificationTitle()
  def specificationVendor: String = underlying.getSpecificationVendor()
  def specificationVersion: String = underlying.getSpecificationVersion()
  def isCompatibleWith(desired: String): Boolean = underlying.isCompatibleWith(desired)
  def isSealed: Boolean = underlying.isSealed()
  def isSealed(url: URL): Boolean = underlying.isSealed(url)
}
